home *** CD-ROM | disk | FTP | other *** search
- Path: galaxy.ucr.edu!not-for-mail
- From: thp@cs.ucr.edu (Tom Payne)
- Newsgroups: comp.lang.c++
- Subject: Re: Will JAVA kill C++?
- Date: 8 Mar 1996 19:42:30 GMT
- Organization: University of California, Riverside
- Message-ID: <4hq2j6$q93@galaxy.ucr.edu>
- References: <313E44EA.14D110C0@netcom.com> <4hp18v$3di@frodo.smartlink.net>
- NNTP-Posting-Host: corvette.ucr.edu
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- The Nameless One (hopkins@smartlink.net) wrote:
- :
- : Even if you did compile the JAVA program into your machine's native
- : language (in so doing you would lose ALL cross-platform compatibility),
-
- There is no intrinsic difference between JAVA and C++ regarding their
- compilability and their interpretability.
-
- : I still think the C++ program would be quicker and more efficient -- There
- : are still some things you will not be able to do in JAVA, such as
- : pointers. And anyone who believes arrays can do anything a real pointer
- : can does not know what they are talking about and probably does not know
- : how to program very well.
-
- When one is interested in speed, one should avoid pointers (as
- does. Fortran), since pointers kill opportunities for optimization.
-
- : Java main advantage, and a large advantage it is, will be complete
- : cross-platform compatibility. Meaning any JAVA program will run on any
- : machine which has an interpreter programmed for it.
-
- Just like C++, no? Either language can be compiled into an
- efficiently interpretable pseudo-code. Perhaps, someone will retarget
- g++ to the JAVA pseudo-machine, just to prove the point.
-
- Tom Payne (thp@cs.ucr.edu)
-